package com.yt.base.service;

import java.util.List;

import com.yt.base.model.AclGroupOperation;
import com.yt.base.model.AclGroup;
import com.yt.core.service.GenericService;

public interface AclGroupOperationService extends GenericService<AclGroupOperation, Long> {

	/**
	 * 查询Group的所有操作权限
	 * @param groupId
	 * @return
	 */
	List<AclGroupOperation> findByGroup(Long groupId);
	
	/**
	 * 更新用户组权限
	 * @param group
	 * @param aclList
	 */
	void modify(AclGroup group, List<String> aclList);
	
	void batchInsert(List<AclGroupOperation> opList);
	
	void batchDelete(List<Long> idList);
}
